accept

abstract fun accept(completion: CompletionHandler?)

Answer a call. Call this method to answer the call when receiving an incoming call invitation.

Usage Example

import io.trtc.tuikit.atomicxcore.api.call.*

CallStore.shared.accept { code, message ->
}

Parameters

completion

Completion callback (success/failure status)